package com.yunyike.constants;

import java.util.HashMap;
import java.util.Map;

public class OrderConstants {

	public static final Integer FREIGHT = 10;
	
	/***************订单状态******
	 * 0:（已提交）待支付，
	 * 1:已支付（待发货）,
	 * 2:已发货（待出口），
	 * 3:已出口,
	 * 4:已到岸，
	 * 5:已进口清关，
	 * 6:已国内配送（待收货），
	 * 7:已收货
	 * 8：已取消				  
	 * ************************/
	public static final int ORDER_STATUS_0 = 0;
	public static final int ORDER_STATUS_1 = 1;
	public static final int ORDER_STATUS_2 = 2;
	public static final int ORDER_STATUS_3 = 3;
	public static final int ORDER_STATUS_4 = 4;
	public static final int ORDER_STATUS_5 = 5;
	public static final int ORDER_STATUS_6 = 6;
	public static final int ORDER_STATUS_7 = 7;
	public static final int ORDER_STATUS_8 = 8;
	
	public static Map <Integer,String> ORDER_STATUS_MAP = new HashMap<Integer,String>();
	public static Map <Integer,String> getOrderStatusMap(){
		ORDER_STATUS_MAP.put(ORDER_STATUS_0, "待支付");
		ORDER_STATUS_MAP.put(ORDER_STATUS_1, "待收货");
		ORDER_STATUS_MAP.put(ORDER_STATUS_2, "待收货");
		ORDER_STATUS_MAP.put(ORDER_STATUS_3, "待收货");
		ORDER_STATUS_MAP.put(ORDER_STATUS_4, "待收货");
		ORDER_STATUS_MAP.put(ORDER_STATUS_5, "待收货");
		ORDER_STATUS_MAP.put(ORDER_STATUS_6, "待收货");
		ORDER_STATUS_MAP.put(ORDER_STATUS_7, "已收到");
		ORDER_STATUS_MAP.put(ORDER_STATUS_8, "已取消");
		return ORDER_STATUS_MAP;
	}
	
}
